I used the Spotify API to pull my library and meta data for the tracks in the library.
While the tracks do not have genre tags artists do which is how I assigned track genres (using the top 3 genres listed if more than 3 are listed). Below are genres with at least 60 tags.
While we can just have a histogram of song genres, I would be more interested in trying to connect these songs by genre. As mentioned before, while songs aren’t assigned genres, artists are, with Spotify allowing multiple genres to be assigned to the artist and only the top three were used. Three different matrices were calculated to see how often a genre was listed with another genre and these were added together to get a total number of links between genres. The strength of this link between genres is visualized using link width in the chart below and the commonality of the genre in my library is visualized by node size and listed by genre name. You can click and hold to drag the genres. If you click on a genre it pulls up a preview of the song that had the most popularity in the genre category (that was in my library at least), those songs may not be the best representation of that genre since artist genre was assigned to that song, but for an automated process it seemed to have worked well. Some songs do not have preview links so not every genre will have a preview but most do. If there are any songs that make you judge my musical taste just assume I like the song ironically.